<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping assembly="SimCMS.Model" namespace="SimCMS.Model" xmlns="urn:nhibernate-mapping-2.2">
  <class name="Simnewsdata" table="Sim_news_data" lazy="true" >
    <id name="Id">
      <generator class="identity" />     
    </id>
    <!--<many-to-one insert="false" update="false" lazy="false" name="NewId">
      <column name="NewId" sql-type="int" not-null="true" />
    </many-to-one>-->
    <property name="NewId">
      <column name="NewId" sql-type="int" not-null="true" />
    </property>
    <property name="NContent">
      <column name="NContent" sql-type="text" not-null="false" />
    </property>
    <property name="ReadPoint">
      <column name="ReadPoint" sql-type="int" not-null="false" />
    </property>
    <property name="PaginationType">
      <column name="PaginationType" sql-type="int" not-null="false" />
    </property>
    <property name="MaxCharPerPage">
      <column name="MaxCharPerPage" sql-type="int" not-null="false" />
    </property>
    <property name="Template">
      <column name="Template" sql-type="varchar" not-null="false" />
    </property>
    <property name="Relation">
      <column name="Relation" sql-type="varchar" not-null="false" />
    </property>
    <property name="VoteId">
      <column name="VoteId" sql-type="int" not-null="false" />
    </property>
    <property name="AllowComment">
      <column name="Allow_Comment" sql-type="bit" not-null="false" />
    </property>
    <property name="Copyfrom">
      <column name="Copyfrom" sql-type="nvarchar" not-null="false" />
    </property>
  </class>
</hibernate-mapping>